import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

/**
 * Created by dongjigong on 2018/6/20.
 *
 * @Email osbornjonny@126.com
 * @Description
 */
@SpringBootApplication
@EnableElasticsearchRepositories(basePackages = "com.changqin.repository")
@ComponentScan("com.changqin")
public class MainApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }
}
